const express = require("express");
const router = express.Router();
const DepartController = require("../../controller/depart/DepartController.js");

router.get("/depart/departlist", DepartController.getDepartList);

router.delete("/depart/departlist/:id", DepartController.deleteDepartListItem);

router.post("/depart/departlist", DepartController.addDepartList);

router.patch("/depart/departlist/:id", DepartController.updateDepartItem);

module.exports = router;
